using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using System;
namespace Devtodo.Pages;

public sealed partial class Setting : Page
{
  public Setting()
  {
    InitializeComponent();
  }
  async void CheckUpdate(object sender, RoutedEventArgs args)
  {
    ContentDialog dialog = new()
    {
      XamlRoot = XamlRoot,
      Title = "提示",
      Content = "已经是最新版本",
      PrimaryButtonText = "确定",
      DefaultButton = ContentDialogButton.Primary
    };
    await dialog.ShowAsync();
  }
}